package day10test01;


import java.util.HashMap;
import java.util.Map;

public class test03 {
    public static void main(String[] args) {

        String[] s1 = {"黑龙江省", "浙江省", "江西省", "广东省", "福建省"};
        String[] s2 = {"哈尔滨", "杭州", "南昌", "广州", "福州"};
        Map<String, String> map = new HashMap<>();
        for (int i = 0; i < s1.length; i++) {
            map.put(s1[i], "=" + s2[i]);
        }
        map.forEach((key, value) ->
                System.out.println(key + value)
        );
    }
}

